﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TimKen.DataEntity
{
    /// <summary>
    /// 语言实体类
    /// </summary>
    public class Language
    {
        public Language()
        { }
        #region Model
        private int _languageid;
        private string _name;
        private string _code;
        private string _image;
        private string _directory;
        private int? _sortorder;
        /// <summary>
        /// 
        /// </summary>
        public int LanguageID
        {
            set { _languageid = value; }
            get { return _languageid; }
        }
        /// <summary>
        /// 语言名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 语言编码
        /// </summary>
        public string Code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// 语言界面显示图片
        /// </summary>
        public string Image
        {
            set { _image = value; }
            get { return _image; }
        }
        /// <summary>
        /// 语言文件存放目录
        /// </summary>
        public string Directory
        {
            set { _directory = value; }
            get { return _directory; }
        }
        /// <summary>
        /// 语言排序
        /// </summary>
        public int? SortOrder
        {
            set { _sortorder = value; }
            get { return _sortorder; }
        }
        #endregion Model

    }



    public enum LanguageEnum
    {
        Chinese = 1,
        English = 2
    }

}
